package gui.panels;

import java.awt.BorderLayout;

import javax.swing.BorderFactory;
import javax.swing.JComponent;
import javax.swing.JPanel;

public class Customizer extends JPanel {
	/**
	 * 
	 */
	private static final long serialVersionUID = -141683011263994390L;

	public Customizer() {
		setLayout(new BorderLayout());
	}
	
	public void setPane(JComponent pane, String title) {
		this.removeAll();
		this.add(pane);
		this.setBorder(BorderFactory.createTitledBorder(title));
		this.updateUI();
	}

}
